package com.giscloud.amp.dao;

import com.giscloud.amp.entity.AmpRole;
import com.giscloud.amp.entity.AmpRoleExample;
import com.giscloud.amp.entity.vo.AmpRoleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface AmpRoleMapper {
    long countByExample(AmpRoleExample example);

    int deleteByExample(AmpRoleExample example);

    int insert(AmpRole record);

    int insertSelective(AmpRole record);

    List<AmpRoleVO> selectByExample(AmpRoleExample example);

    int updateByExampleSelective(@Param("record") AmpRole record, @Param("example") AmpRoleExample example);

    int updateByExample(@Param("record") AmpRole record, @Param("example") AmpRoleExample example);
}